<style>

.select2-dropdown {
	z-index: 20000000;
}
</style>
<div class="layer_container">
	<div class="body_container_table">
		<div class="main-content-table" style="top: 0; bottom: 0">
			<div class="main-table-container" >
				<table class="table table-border table-striped table-hover">
					<thead>
						<tr>
							<td>诊断顺序</td>
							<td>诊断描述</td>
							<td>诊断依据</td>
							<td>诊断结果</td>
							<td>疑诊</td>
							<td>医嘱单</td>
							<td>操作</td>
						</tr>
					</thead>
					<tbody id="zhenduan_tbody">
						{{# $.each(d,function(index,item){ }}
						<tr>
							<td>
								<select class="shouye_zdsx" value="{{ item.vao07 }}">
									<option value=0>初步诊断</option>
									<option value=1>正常诊断</option>
								</select>
							</td>
							{{# if(item.vaf01!='0'){ }}
							<td>
								<input type="text" class="shouye_zdms form-input" data-info="{{item.cam01}}" value='{{item.vao15}}' id="zhenduan0001{{index}}" placeholder="这是诊断内容标签" readonly />
								<!-- <input type="text"  class="shouye_zdms" id="zhenduan0000{{zhenduanindex}}" /> -->
							</td>
							{{# } else {}}
							<td>
								<input type="text" class="shouye_zdms form-input" data-info="{{item.cam01}}" value='{{item.vao15}}' id="zhenduan0001{{index}}" placeholder="这是诊断内容标签" readonly/>
								<!-- <input type="text"  class="shouye_zdms" id="zhenduan0000{{zhenduanindex}}" /> -->
							</td>
							{{# } }}
							<td class="shouye_zdyj" value='{{item.ady01}}'>{{zhenduanyijuHtml}}</td>
							<td class="shouye_zdjg" value={{item.bgp01}}>{{ zhenduanyieguoHtml}}</td>
							{{# if(item.vao18=='1'){ }}
							<td>
								<input class="shouye_yz" type="checkbox" value="{{item.vao18}}" checked>
							</td>
							{{# } else {}}
							<td>
								<input class="shouye_yz" type="checkbox" value="{{item.vao18}}">
							</td>
							{{# } }}
							<td class="shouye_yzd">{{item.vaf01}}</td>
							<td>
								<input class="btn btn-white btn-min shouye_cz" type="button" value="删除 " />
							</td>
						</tr>
						{{# }) }}
					</tbody>
				</table>
				<!-- 诊断下拉 -->
		<div class="select-container search-select selectDiv" id="shouye_zhenduan">
             <div class="input-group input-group-sm">
                 <input type="text" class="form-input  nodeleteinput" id="search_jibing" />
                 <div class="input-group-btn" onclick="searchJibingEvent()">
                     <button class="btn btn-grey" type="button" id="search_diag_btn">
                         <span class="glyphicon glyphicon-search"></span>
                     </button>
                 </div>
                 <span class="input-group-btn" onclick = "closeChangeTdDiv_zhenduan();">       
					<button class="btn btn-grey" type="button">        
					<span class="glyphicon glyphicon-remove"></span> 
					</button>
				</span>
             </div>
             <div class="main-header-nav-container">
                 <div class="main-header-nav">
                     <ul class="nav nav-underline" rol="tablist">
                         <li class="active">
                             <a href="#shouye_xydqzd" aria-controls="current-diagnose" role="tab" data-toggle="tab">当前诊断</a>
                         </li>
                         <li>
                             <a href="#shouye_xylszd" aria-controls="history-diagnose" role="tab" data-toggle="tab">历史诊断</a>
                         </li>
                     </ul>
                 </div>
             </div>
             <div class="tab-content">
                 <div class="tab-pane active" id="shouye_xydqzd">
                     <div class="select-left treeview" id="zhenduan-tree"></div>
                     <div class="select-right">
                         <div class="main-content-table">
                             <div class="main-table-container">
                                 <table class="table table-noborder table-striped table-hover " id="zhenduan-tree-table">
                                     
                                 </table>
                             </div>
                         </div>
                     </div>
                 </div>
                 <div class="tab-pane" id="shouye_xylszd">
                     <div class="main-content-table">
                         <div class="main-table-container" id="xydqzd">
                             
                         </div>
                     </div>
                 </div>
             </div>
         </div>
				
			</div>
		</div>
	</div>
	<div class="footer_container">
		<button class="btn btn-main" onclick="zhenduanCloneTr()">新增</button>
		<button class="btn btn-main" onclick="saveZhenduan()">保存</button>
		<button class="btn btn-white" id="remove_action_zd">取消</button>
	</div>
</div>
